package com.seannews.server.Dao;


import com.seannews.server.Pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface UserDao {
    public User login(String userid, String passwd);
    public User getuserbyid(String userid);
    public void sign(String userid, String userpasswd, String username, int usertype);
    public List<User> getalluser(int start,int stop);
    public void deleteuser(String userid);
    public void addreadtype(String userId,String type);
}
